package com.baichang.taoshunda.service;

import java.util.Map;

import com.baichang.framework.model.Page;

/**
 * Created by ${wushenglu} on 2018/3/22.
 */
public interface IncidentalService {
    /**
     * 添加杂费记录
     *
     * @param busId
     * @param type
     * @param money
     * @param goodsId
     * @param payMethod
     * @return
     */
    boolean addIncidental(Integer busId, Integer type, double money, String goodsId, Integer payMethod);

    /**
     * 获取支付信息
     *
     * @param typeId
     * @param payMethod
     * @return
     */
    Map<String, Object> payInfo(Integer typeId, int payMethod);

    /**
     *
     *
     * @param type
     * @param nowPage
     * @param pageSize
     * @return
     */
    Page queryVideo(Integer type, int nowPage, int pageSize);
}
